package com.myrecycleveiw;

/**
 * Created by 黄海 on 2017/4/20.
 */

public class FooterType {
    Type type = Type.LoadMore;

    enum Type {
        NetWorkError(-1),
        LoadMore(1000),
        NoMore(1001);
        private int value;

        Type(int i) {
            this.value = i;
        }

        public int getValue() {
            return value;
        }
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Type getType() {
        return type;
    }

    public int getItemViewType() {
        return type.getValue();
    }
}
